package com.yh.mapper;

import com.yh.javabean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> selectAll();
    @Select("select * from user where uid=#{uid}")
    User selectByUid(int uid);
}
